package com.eshop.modules.template.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.template.service.dto.ShippingTemplatesRegionDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.template.service.dto.ShippingTemplatesRegionQueryCriteria;
import com.eshop.modules.template.domain.ShippingTemplatesRegion;
import com.eshop.common.service.BaseService;

public interface ShippingTemplatesRegionService extends BaseService<ShippingTemplatesRegion>
{
    Map<String, Object> queryAll(final ShippingTemplatesRegionQueryCriteria criteria, final Pageable pageable);
    
    List<ShippingTemplatesRegion> queryAll(final ShippingTemplatesRegionQueryCriteria criteria);
    
    void download(final List<ShippingTemplatesRegionDto> all, final HttpServletResponse response) throws IOException;
}
